<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>毕业生档案管理系统</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css">

</head>

<body>
<div class="content">
    <div class="form sign-in">
        <form action="${pageContext.request.contextPath}/login/login.action" method="post">
            <h2>欢迎使用毕业生档案管理系统</h2>
            <div style="color:red;width: 100%;text-align: center">${requestScope.message}</div>
            <label>
                <span>用户名</span>
                <input type="text" name="userId"/>
            </label>
            <label>
                <span>密码</span>
                <input type="password" name="password"/>
            </label>
            <label>
                <select name="role">
                    <option value="student">学生</option>
                    <option value="teacher">教师</option>
                </select>
            </label>
            <input type="submit" value="登录" class="submit"/>
        </form>
    </div>
</div>


</body>

</html>
